package com.yeyks.vip.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 销售卖卡(包括线上)记录
 * </p>
 *
 * @author yun
 * @since 2020-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MemberCardSellRelation对象", description="销售卖卡(包括线上)记录")
public class MemberCardSellRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单号")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty(value = "卡号")
    @TableField("card_no")
    private String cardNo;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "用户电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "销售电话")
    @TableField("phone_sell")
    private String phoneSell;

    @ApiModelProperty(value = "是否成交,1未成交2已成交")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "1:线下 2：线上")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "支付密码")
    @TableField("password")
    private String password;

    @ApiModelProperty(value = "邀请码")
    @TableField("invite_id")
    private String inviteId;


    public static final String ID = "id";

    public static final String ORDER_NO = "order_no";

    public static final String CARD_NO = "card_no";

    public static final String NAME = "name";

    public static final String PHONE = "phone";

    public static final String PHONE_SELL = "phone_sell";

    public static final String STATUS = "status";

    public static final String TYPE = "type";

    public static final String CREATE_TIME = "create_time";

    public static final String PASSWORD = "password";

    public static final String INVITE_ID = "invite_id";

}
